package com.chwl.framework.grpc.service.impl;

import com.chwl.framework.grpc.annotation.GrpcService;
import com.chwl.framework.grpc.service.AccountService;

/**
 * 包名：com.chwl.framework.grpc.service.impl<br>
 * <p>功能:</p>
 *
 * @date:2018-08-10 11:31<br/>
 * @version:1.0 <br/>
 */
@GrpcService(server = "accountService")
public class AccountServiceImpl implements AccountService {
    @Override
    public String findAll() {
        return "hello world,this is grpc server";
    }

    @Override
    public int add(int a) {
        return a + a;
    }
}
